Closed Bug 1739510 Opened 4 years ago Closed 4 years ago

ThreadSanitizer: data race [@ nsWindow::IsWaitingForCompositorResume] vs. [@ nsWindow::PauseCompositorHiddenWindow]

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1727225
Tracking Status
firefox95 --- affected

People

(Reporter: tsmith, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: csectype-race)

This issue was fist found by fuzzers running m-c 20211026-28e7a49220d1. Unfortunately a reproducible test case is not available.

WARNING: ThreadSanitizer: data race (pid=12484)
  Write of size 4 at 0x7b6000691a08 by main thread:
    #0 nsWindow::PauseCompositorHiddenWindow() src/widget/gtk/nsWindow.cpp:5891:20 (libxul.so+0x4b86ae3)
    #1 nsWindow::DisableRenderingToWindow() src/widget/gtk/nsWindow.cpp:5105:3 (libxul.so+0x4b812fc)
    #2 nsWindow::Destroy() src/widget/gtk/nsWindow.cpp:626:3 (libxul.so+0x4b807dc)
    #3 mozilla::AppWindow::Destroy() src/xpfe/appshell/AppWindow.cpp:653:14 (libxul.so+0x6463321)
    #4 Destroy src/xpfe/appshell/nsChromeTreeOwner.cpp:255:22 (libxul.so+0x6477fb4)
    #5 nsContentTreeOwner::Destroy() src/xpfe/appshell/nsChromeTreeOwner.cpp (libxul.so+0x6477fb4)
    #6 nsGlobalWindowOuter::ReallyCloseWindow() src/dom/base/nsGlobalWindowOuter.cpp:6356:19 (libxul.so+0x25bbd67)
    #7 nsCloseEvent::Run() src/dom/base/nsGlobalWindowOuter.cpp:6157:16 (libxul.so+0x25c139b)
    #8 mozilla::RunnableTask::Run() src/xpcom/threads/TaskController.cpp:468:16 (libxul.so+0xef27a7)
    #9 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) src/xpcom/threads/TaskController.cpp:771:26 (libxul.so+0xecfc1d)
    #10 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) src/xpcom/threads/TaskController.cpp:607:15 (libxul.so+0xece2f6)
    #11 mozilla::TaskController::ProcessPendingMTTask(bool) src/xpcom/threads/TaskController.cpp:391:36 (libxul.so+0xece5d2)
    #12 operator() src/xpcom/threads/TaskController.cpp:124:37 (libxul.so+0xef60f7)
    #13 mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() src/xpcom/threads/nsThreadUtils.h:531:5 (libxul.so+0xef60f7)
    #14 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1175:16 (libxul.so+0xee1f53)
    #15 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:467:10 (libxul.so+0xee8ac2)
    #16 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x17f76cd)
    #17 RunInternal src/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x17795bc)
    #18 RunHandler src/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x17795bc)
    #19 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x17795bc)
    #20 nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27 (libxul.so+0x4b3ff86)
    #21 nsAppStartup::Run() src/toolkit/components/startup/nsAppStartup.cpp:295:30 (libxul.so+0x6814f78)
    #22 XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:5293:22 (libxul.so+0x691cfaf)
    #23 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5478:8 (libxul.so+0x691de36)
    #24 XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5537:21 (libxul.so+0x691e404)
    #25 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x6928bb2)
    #26 do_main src/browser/app/nsBrowserApp.cpp:225:22 (firefox+0xce5dc)
    #27 main src/browser/app/nsBrowserApp.cpp:395:16 (firefox+0xce5dc)

  Previous read of size 4 at 0x7b6000691a08 by thread T68:
    #0 nsWindow::IsWaitingForCompositorResume() src/widget/gtk/nsWindow.cpp:5947:27 (libxul.so+0x4ba6e72)
    #1 mozilla::widget::GtkCompositorWidget::RemoteLayoutSizeUpdated(mozilla::gfx::RectTyped<mozilla::LayoutDevicePixel, float> const&) src/widget/gtk/GtkCompositorWidget.cpp:94:29 (libxul.so+0x4bc1df1)
    #2 mozilla::layers::WebRenderBridgeParent::SetDisplayList(mozilla::gfx::RectTyped<mozilla::LayoutDevicePixel, float> const&, mozilla::ipc::ByteBuf&&, mozilla::ipc::ByteBuf&&, mozilla::ipc::ByteBuf&&, mozilla::wr::BuiltDisplayListDescriptor const&, nsTArray<mozilla::layers::OpUpdateResource> const&, nsTArray<mozilla::layers::RefCountedShmem> const&, nsTArray<mozilla::ipc::Shmem> const&, mozilla::TimeStamp const&, mozilla::wr::TransactionBuilder&, mozilla::wr::Epoch, bool) src/gfx/layers/wr/WebRenderBridgeParent.cpp:1132:25 (libxul.so+0x22423d5)
    #3 mozilla::layers::WebRenderBridgeParent::ProcessDisplayListData(mozilla::layers::DisplayListData&, mozilla::wr::Epoch, mozilla::TimeStamp const&, bool, bool) src/gfx/layers/wr/WebRenderBridgeParent.cpp:1191:8 (libxul.so+0x2242a55)
    #4 mozilla::layers::WebRenderBridgeParent::RecvSetDisplayList(mozilla::layers::DisplayListData&&, nsTArray<mozilla::layers::OpDestroy>&&, unsigned long const&, mozilla::layers::BaseTransactionId<mozilla::layers::TransactionIdType> const&, bool const&, mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> const&, mozilla::TimeStamp const&, mozilla::TimeStamp const&, mozilla::TimeStamp const&, nsTString<char> const&, mozilla::TimeStamp const&, nsTArray<mozilla::layers::CompositionPayload>&&) src/gfx/layers/wr/WebRenderBridgeParent.cpp:1247:8 (libxul.so+0x2243947)
    #5 mozilla::layers::PWebRenderBridgeParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PWebRenderBridgeParent.cpp:425:28 (libxul.so+0x1be0eaa)
    #6 mozilla::layers::PCompositorManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCompositorManagerParent.cpp:195:32 (libxul.so+0x18c2cdc)
    #7 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) src/ipc/glue/MessageChannel.cpp:2043:25 (libxul.so+0x17f37ce)
    #8 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) src/ipc/glue/MessageChannel.cpp:1968:9 (libxul.so+0x17f1e65)
    #9 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) src/ipc/glue/MessageChannel.cpp:1827:3 (libxul.so+0x17f2a5a)
    #10 mozilla::ipc::MessageChannel::MessageTask::Run() src/ipc/glue/MessageChannel.cpp:1855:14 (libxul.so+0x17f2ed5)
    #11 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1169:16 (libxul.so+0xee2173)
    #12 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:467:10 (libxul.so+0xee8ac2)
    #13 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x17f7fbe)
    #14 RunInternal src/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x17795bc)
    #15 RunHandler src/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x17795bc)
    #16 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x17795bc)
    #17 nsThread::ThreadFunc(void*) src/xpcom/threads/nsThread.cpp:391:10 (libxul.so+0xede280)
    #18 _pt_root src/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4407d)

  Location is heap block of size 928 at 0x7b6000691800 allocated by main thread:
    #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:655:5 (firefox+0x5c48d)
    #1 moz_xmalloc src/memory/mozalloc/mozalloc.cpp:52:15 (firefox+0xd027b)
    #2 operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0x4babe34)
    #3 nsIWidget::CreateChildWindow() src/widget/gtk/nsWindow.cpp:8944:32 (libxul.so+0x4babe34)
    #4 mozilla::AppWindow::Initialize(nsIAppWindow*, nsIAppWindow*, int, int, bool, nsWidgetInitData&) src/xpfe/appshell/AppWindow.cpp:213:15 (libxul.so+0x6463c18)
    #5 nsAppShellService::JustCreateTopWindow(nsIAppWindow*, nsIURI*, unsigned int, int, int, bool, mozilla::AppWindow**) src/xpfe/appshell/nsAppShellService.cpp:710:15 (libxul.so+0x6472e4c)
    #6 nsAppShellService::CreateTopLevelWindow(nsIAppWindow*, nsIURI*, unsigned int, int, int, nsIAppWindow**) src/xpfe/appshell/nsAppShellService.cpp:173:8 (libxul.so+0x647346e)
    #7 CreateNewChromeWindow src/xpfe/appshell/AppWindow.cpp:2284:13 (libxul.so+0x646ea08)
    #8 mozilla::AppWindow::CreateNewWindow(int, nsIOpenWindowInfo*, nsIAppWindow**) src/xpfe/appshell/AppWindow.cpp:2270:12 (libxul.so+0x646ea08)
    #9 non-virtual thunk to mozilla::AppWindow::CreateNewWindow(int, nsIOpenWindowInfo*, nsIAppWindow**) src/xpfe/appshell/AppWindow.cpp (libxul.so+0x646f202)
    #10 nsAppStartup::CreateChromeWindow(nsIWebBrowserChrome*, unsigned int, nsIOpenWindowInfo*, bool*, nsIWebBrowserChrome**) src/toolkit/components/startup/nsAppStartup.cpp:731:18 (libxul.so+0x6816075)
    #11 non-virtual thunk to nsAppStartup::CreateChromeWindow(nsIWebBrowserChrome*, unsigned int, nsIOpenWindowInfo*, bool*, nsIWebBrowserChrome**) src/toolkit/components/startup/nsAppStartup.cpp (libxul.so+0x68162a4)
    #12 nsWindowWatcher::CreateChromeWindow(nsIWebBrowserChrome*, unsigned int, nsIOpenWindowInfo*, nsIWebBrowserChrome**) src/toolkit/components/windowwatcher/nsWindowWatcher.cpp:419:33 (libxul.so+0x68cde75)
    #13 nsWindowWatcher::OpenWindowInternal(mozIDOMWindowProxy*, nsTSubstring<char> const&, nsTSubstring<char> const&, nsTSubstring<char> const&, bool, bool, bool, nsIArray*, bool, bool, bool, nsPIWindowWatcher::PrintKind, nsDocShellLoadState*, mozilla::dom::BrowsingContext**) src/toolkit/components/windowwatcher/nsWindowWatcher.cpp:947:12 (libxul.so+0x68cc264)
    #14 OpenWindow2 src/toolkit/components/windowwatcher/nsWindowWatcher.cpp:376:10 (libxul.so+0x68cdd9a)
    #15 non-virtual thunk to nsWindowWatcher::OpenWindow2(mozIDOMWindowProxy*, nsTSubstring<char> const&, nsTSubstring<char> const&, nsTSubstring<char> const&, bool, bool, bool, nsISupports*, bool, bool, bool, nsPIWindowWatcher::PrintKind, nsDocShellLoadState*, mozilla::dom::BrowsingContext**) src/toolkit/components/windowwatcher/nsWindowWatcher.cpp (libxul.so+0x68cdd9a)
    #16 nsGlobalWindowOuter::OpenInternal(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, bool, bool, bool, bool, bool, nsIArray*, nsISupports*, nsDocShellLoadState*, bool, nsGlobalWindowOuter::PrintKind, mozilla::dom::BrowsingContext**) src/dom/base/nsGlobalWindowOuter.cpp:7193:21 (libxul.so+0x25b663e)
    #17 OpenDialog src/dom/base/nsGlobalWindowOuter.cpp:5825:10 (libxul.so+0x25b97dd)
    #18 non-virtual thunk to nsGlobalWindowOuter::OpenDialog(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsISupports*, mozilla::dom::BrowsingContext**) src/dom/base/nsGlobalWindowOuter.cpp (libxul.so+0x25b97dd)
    #19 nsPrintProgress::OpenProgressDialog(mozIDOMWindowProxy*, char const*, nsISupports*, nsIObserver*, bool*) src/toolkit/components/printingui/nsPrintProgress.cpp:91:25 (libxul.so+0x68eae50)
    #20 nsPrintingPromptService::ShowPrintProgressDialog(mozIDOMWindowProxy*, nsIPrintSettings*, nsIObserver*, bool, nsIWebProgressListener**, nsIPrintProgressParams**, bool*) src/toolkit/components/printingui/nsPrintingPromptService.cpp:111:21 (libxul.so+0x68ec556)
    #21 mozilla::embedding::PrintingParent::RecvShowProgress(mozilla::dom::PBrowserParent*, mozilla::embedding::PPrintProgressDialogParent*, mozilla::layout::PRemotePrintJobParent*, bool const&) src/toolkit/components/printingui/ipc/PrintingParent.cpp:47:15 (libxul.so+0x68ee7f2)
    #22 mozilla::embedding::PPrintingParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PPrintingParent.cpp:413:28 (libxul.so+0x1ac46c1)
    #23 mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PContentParent.cpp:6517:32 (libxul.so+0x1925b62)
    #24 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) src/ipc/glue/MessageChannel.cpp:2043:25 (libxul.so+0x17f37ce)
    #25 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) src/ipc/glue/MessageChannel.cpp:1968:9 (libxul.so+0x17f1e65)
    #26 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) src/ipc/glue/MessageChannel.cpp:1827:3 (libxul.so+0x17f2a5a)
    #27 mozilla::ipc::MessageChannel::MessageTask::Run() src/ipc/glue/MessageChannel.cpp:1855:14 (libxul.so+0x17f2ed5)
    #28 mozilla::RunnableTask::Run() src/xpcom/threads/TaskController.cpp:468:16 (libxul.so+0xef27a7)
    #29 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) src/xpcom/threads/TaskController.cpp:771:26 (libxul.so+0xecfc1d)
    #30 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) src/xpcom/threads/TaskController.cpp:607:15 (libxul.so+0xece2f6)
    #31 mozilla::TaskController::ProcessPendingMTTask(bool) src/xpcom/threads/TaskController.cpp:391:36 (libxul.so+0xece5d2)
    #32 operator() src/xpcom/threads/TaskController.cpp:124:37 (libxul.so+0xef60f7)
    #33 mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() src/xpcom/threads/nsThreadUtils.h:531:5 (libxul.so+0xef60f7)
    #34 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1175:16 (libxul.so+0xee1f53)
    #35 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:467:10 (libxul.so+0xee8ac2)
    #36 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x17f76cd)
    #37 RunInternal src/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x17795bc)
    #38 RunHandler src/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x17795bc)
    #39 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x17795bc)
    #40 nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27 (libxul.so+0x4b3ff86)
    #41 nsAppStartup::Run() src/toolkit/components/startup/nsAppStartup.cpp:295:30 (libxul.so+0x6814f78)
    #42 XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:5293:22 (libxul.so+0x691cfaf)
    #43 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5478:8 (libxul.so+0x691de36)
    #44 XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5537:21 (libxul.so+0x691e404)
    #45 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x6928bb2)
    #46 do_main src/browser/app/nsBrowserApp.cpp:225:22 (firefox+0xce5dc)
    #47 main src/browser/app/nsBrowserApp.cpp:395:16 (firefox+0xce5dc)

  Thread T68 'Compositor' (tid=12696, running) created by main thread at:
    #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:977:3 (firefox+0x5db1d)
    #1 _PR_CreateThread src/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x3b295)
    #2 PR_CreateThread src/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x2fe55)
    #3 nsThread::Init(nsTSubstring<char> const&) src/xpcom/threads/nsThread.cpp:607:18 (libxul.so+0xedf8b5)
    #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) src/xpcom/threads/nsThreadManager.cpp:581:12 (libxul.so+0xee7d28)
    #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) src/xpcom/threads/nsThreadUtils.cpp:163:57 (libxul.so+0xeeea44)
    #6 NS_NewNamedThread<11UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:74:10 (libxul.so+0x21d456e)
    #7 mozilla::layers::CompositorThreadHolder::CreateCompositorThread() src/gfx/layers/ipc/CompositorThread.cpp:62:17 (libxul.so+0x21d456e)
    #8 CompositorThreadHolder src/gfx/layers/ipc/CompositorThread.cpp:39:25 (libxul.so+0x21d465a)
    #9 mozilla::layers::CompositorThreadHolder::Start() src/gfx/layers/ipc/CompositorThread.cpp:103:33 (libxul.so+0x21d465a)
    #10 InitLayersIPC src/gfx/thebes/gfxPlatform.cpp:1286:5 (libxul.so+0x22a3124)
    #11 gfxPlatform::Init() src/gfx/thebes/gfxPlatform.cpp:948:3 (libxul.so+0x22a3124)
    #12 GetPlatform src/gfx/thebes/gfxPlatform.cpp:464:5 (libxul.so+0x22a4637)
    #13 gfxPlatform::InitializeCMS() src/gfx/thebes/gfxPlatform.cpp:2071:9 (libxul.so+0x22a4637)
    #14 EnsureCMSInitialized /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:950:7 (libxul.so+0x4b759d5)
    #15 GetCMSMode /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:519:5 (libxul.so+0x4b759d5)
    #16 nsXPLookAndFeel::GetColorValue(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins, unsigned int&) src/widget/nsXPLookAndFeel.cpp:833:9 (libxul.so+0x4b759d5)
    #17 mozilla::LookAndFeel::GetColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) src/widget/nsXPLookAndFeel.cpp:1157:47 (libxul.so+0x4b770b6)
    #18 Color /builds/worker/workspace/obj-build/dist/include/mozilla/LookAndFeel.h:449:12 (libxul.so+0x4b4b21d)
    #19 ThemedAccentColor src/widget/nsNativeBasicTheme.cpp:142:37 (libxul.so+0x4b4b21d)
    #20 nsNativeBasicTheme::RecomputeAccentColors() src/widget/nsNativeBasicTheme.cpp:325:20 (libxul.so+0x4b4b21d)
    #21 LookAndFeelChanged src/widget/nsNativeBasicTheme.cpp:312:3 (libxul.so+0x4b4b101)
    #22 nsNativeBasicTheme::Init() src/widget/nsNativeBasicTheme.cpp:302:3 (libxul.so+0x4b4b101)
    #23 nsXPLookAndFeel::GetInstance() src/widget/nsXPLookAndFeel.cpp:366:3 (libxul.so+0x4b74c7c)
    #24 mozilla::LookAndFeel::GetThemeInfo(nsTSubstring<char>&) src/widget/nsXPLookAndFeel.cpp:1283:3 (libxul.so+0x4b775a8)
    #25 nsSystemInfo::Init() src/xpcom/base/nsSystemInfo.cpp:1003:5 (libxul.so+0xe25edd)
    #26 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsISupports*, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:10482:7 (libxul.so+0xeab61d)
    #27 mozilla::xpcom::StaticModule::CreateInstance(nsISupports*, nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12086:10 (libxul.so+0xea2443)
    #28 CreateInstance src/xpcom/components/nsComponentManager.cpp:177:46 (libxul.so+0xeb9218)
    #29 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::MonitorAutoLock>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) src/xpcom/components/nsComponentManager.cpp:1276:17 (libxul.so+0xeb9218)
    #30 nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) src/xpcom/components/nsComponentManager.cpp:1366:10 (libxul.so+0xeb97c0)
    #31 mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12205:50 (libxul.so+0xeac32a)
    #32 nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&) src/xpcom/base/nsCOMPtr.cpp:109:7 (libxul.so+0xe01b0f)
    #33 nsCOMPtr /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:999:5 (libxul.so+0x1d70005)
    #34 GetServiceImpl src/js/xpconnect/src/JSServices.cpp:84:32 (libxul.so+0x1d70005)
    #35 GetService src/js/xpconnect/src/JSServices.cpp:131:8 (libxul.so+0x1d70005)
    #36 xpc::Services_Resolve(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, bool*) src/js/xpconnect/src/JSServices.cpp:154:25 (libxul.so+0x1d70005)
    #37 CallResolveOp src/js/src/vm/NativeObject-inl.h:634:8 (libxul.so+0x6cfc67a)
    #38 NativeLookupOwnPropertyInline<js::CanGC, js::LookupResolveMode::CheckResolve> src/js/src/vm/NativeObject-inl.h:751:14 (libxul.so+0x6cfc67a)
    #39 NativeGetPropertyInline<js::CanGC> src/js/src/vm/NativeObject.cpp:2099:10 (libxul.so+0x6cfc67a)
    #40 js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) src/js/src/vm/NativeObject.cpp:2147:10 (libxul.so+0x6cfc67a)
    #41 GetProperty src/js/src/vm/ObjectOperations-inl.h:115:10 (libxul.so+0x6a60f4f)
    #42 GetProperty src/js/src/vm/ObjectOperations-inl.h:122:10 (libxul.so+0x6a60f4f)
    #43 js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) src/js/src/vm/Interpreter.cpp:4548:10 (libxul.so+0x6a60f4f)
    #44 GetPropertyOperation src/js/src/vm/Interpreter.cpp:203:10 (libxul.so+0x6a4ead8)
    #45 Interpret(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:2904:12 (libxul.so+0x6a4ead8)
    #46 js::RunScript(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:354:13 (libxul.so+0x6a45b26)
    #47 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) src/js/src/vm/Interpreter.cpp:504:13 (libxul.so+0x6a5c5b9)
    #48 InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) src/js/src/vm/Interpreter.cpp:532:10 (libxul.so+0x6a5d35e)
    #49 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) src/js/src/vm/Interpreter.cpp:549:8 (libxul.so+0x6a5d43a)
    #50 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) src/js/src/vm/CallAndConstruct.cpp:53:10 (libxul.so+0x6b8e6c1)
    #51 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) src/js/xpconnect/src/XPCWrappedJSClass.cpp:973:17 (libxul.so+0x1d8bbfd)
    #52 PrepareAndDispatch src/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0xf0dc33)
    #53 SharedStub xptcstubs_x86_64_linux.cpp (libxul.so+0xf0cf72)
    #54 nsXREDirProvider::DoStartup() src/toolkit/xre/nsXREDirProvider.cpp:976:11 (libxul.so+0x692e38e)
    #55 XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:5028:18 (libxul.so+0x691ca05)
    #56 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5478:8 (libxul.so+0x691de36)
    #57 XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5537:21 (libxul.so+0x691e404)
    #58 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x6928bb2)
    #59 do_main src/browser/app/nsBrowserApp.cpp:225:22 (firefox+0xce5dc)
    #60 main src/browser/app/nsBrowserApp.cpp:395:16 (firefox+0xce5dc)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Group: gfx-core-security → dom-core-security
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.